package com.steven.im.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * 我的订单实体类
 */
public class MyorderEntity implements MultiItemEntity {

    private String orderId;
    private String type;//orderType： 订单类型：0.普通；1.充值；2.竞拍；3.差价购买；
    private String goodsId;
    private String goodsTitle;
    private String previewImage;
    private String originalPrice;
    private String discountPrice;
    private String discountRate;
    private String quantity;
    private String amount;
    private String biddingCurrency;
    private String givingCurrency;
    private String shoppingCurrency;
    private String serialNumber;
    private String paymentCode;
    private String paymentAmount;
    private OrderTime addTime;
    private OrderTime receiptTime;
    private String status;

    public static class OrderTime {
        private String nanos;
        private String time;
        private String minutes;
        private String seconds;
        private String hours;
        private String month;
        private String year;
        private String timezoneOffset;
        private String day;
        private String date;

        public void setNanos(String nanos) {
            this.nanos = nanos;
        }

        public String getNanos() {
            return nanos;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getTime() {
            return time;
        }

        public void setMinutes(String minutes) {
            this.minutes = minutes;
        }

        public String getMinutes() {
            return minutes;
        }

        public void setSeconds(String seconds) {
            this.seconds = seconds;
        }

        public String getSeconds() {
            return seconds;
        }

        public void setHours(String hours) {
            this.hours = hours;
        }

        public String getHours() {
            return hours;
        }

        public void setMonth(String month) {
            this.month = month;
        }

        public String getMonth() {
            return month;
        }

        public void setYear(String year) {
            this.year = year;
        }

        public String getYear() {
            return year;
        }

        public void setTimezoneOffset(String timezoneOffset) {
            this.timezoneOffset = timezoneOffset;
        }

        public String getTimezoneOffset() {
            return timezoneOffset;
        }

        public void setDay(String day) {
            this.day = day;
        }

        public String getDay() {
            return day;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getDate() {
            return date;
        }
    }

    public String getOrderId() {
        return orderId;
    }

    public String getType() {
        return type;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public String getGoodsTitle() {
        return goodsTitle;
    }

    public String getPreviewImage() {
        return previewImage;
    }

    public String getOriginalPrice() {
        return originalPrice;
    }

    public String getDiscountPrice() {
        return discountPrice;
    }

    public String getDiscountRate() {
        return discountRate;
    }

    public String getQuantity() {
        return quantity;
    }

    public String getAmount() {
        return amount;
    }

    public String getBiddingCurrency() {
        return biddingCurrency;
    }

    public String getGivingCurrency() {
        return givingCurrency;
    }

    public String getShoppingCurrency() {
        return shoppingCurrency;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public String getPaymentCode() {
        return paymentCode;
    }

    public String getPaymentAmount() {
        return paymentAmount;
    }

    public OrderTime getAddTime() {
        return addTime;
    }

    public OrderTime getReceiptTime() {
        return receiptTime;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public int getItemType() {
        return Integer.valueOf(type);
    }
}
